package com.beans;

import com.enums.Enums;

import java.sql.Timestamp;

public class OrderInfo {
    private int id;
    private String orderNo;//订单编号
    private Enums.EnumPayMethod payMethod;//付款方式
    private int memberId;//会员id
    private float postage;//邮费
    private Enums.EnumPostMethod postMethod;//邮寄方式
    private String orderDate;//订单生成日期
    private String address;//邮寄地址
    private Enums.EnumOrderState orderState;//订单状态
    private String sendDate;//发货日期
    private Timestamp editDate;//修改日期
    private float amount;//订单金额

    private String memberNo;//会员账号 数据库中没有此字段 ，关联查询得到

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Enums.EnumPayMethod getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(Enums.EnumPayMethod payMethod) {
        this.payMethod = payMethod;
    }

    public int getMemberId() {
        return memberId;
    }

    public void setMemberId(int memberId) {
        this.memberId = memberId;
    }

    public float getPostage() {
        return postage;
    }

    public void setPostage(float postage) {
        this.postage = postage;
    }

    public Enums.EnumPostMethod getPostMethod() {
        return postMethod;
    }

    public void setPostMethod(Enums.EnumPostMethod postMethod) {
        this.postMethod = postMethod;
    }

    public String getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(String orderDate) {
        this.orderDate = orderDate;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Enums.EnumOrderState getOrderState() {
        return orderState;
    }

    public void setOrderState(Enums.EnumOrderState orderState) {
        this.orderState = orderState;
    }

    public String getSendDate() {
        return sendDate;
    }

    public void setSendDate(String sendDate) {
        this.sendDate = sendDate;
    }

    public Timestamp getEditDate() {
        return editDate;
    }

    public void setEditDate(Timestamp editDate) {
        this.editDate = editDate;
    }

    public float getAmount() {
        return amount;
    }

    public void setAmount(float amount) {
        this.amount = amount;
    }

    public String getMemberNo() {
        return memberNo;
    }

    public void setMemberNo(String memberNo) {
        this.memberNo = memberNo;
    }
}